package com.htht.smartschool.model.student;

import com.htht.smartschool.common.model.Entity;
import com.htht.smartschool.model.teacher.TClass;

/**
 * StudentCardId entity. @author MyEclipse Persistence Tools
 */

public class StudentCard extends Entity implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String schoolid;
	private String name;
	private String sex;
	private Long birdate;
	private String birplacecede;
	private String birplace;
	private String nation;
	private String country;
	private String cardtype;
	private String cardid;
	private String oldname;
	private Long cadrvalid;
	private String isoutland;
	private String health;
	private String bloodtype;
	private String political;
	private String hukounature;
	private String hukouplace;
	private String adress;
	private String mailadress;
	private String familyadress;
	private String familyphone;
	private String post;
	private String classno;
	private Long inschooldate;
	private String inschooltype;
	private String studytype;
	private String schoolno;
	private String classstudentid;
	private String studentfrom;
	private String specialty;
	private String email;
	private String homepage;
	private String isonechild;
	private String isbeforestudy;
	private String isstay;
	private String issupport;
	private String isonesupport;
	private String isorphan;
	private String isallow;
	private String istransfer;
	private String disabilitytype;
	private String isbuy;
	private String distance;
	private String waytype;
	private String isbus;
	private String studyclass;
	private String fname1;
	private String frelation1;
	private String fremark1;
	private String faddress1;
	private String fhukouplacecode1;
	private String fphone1;
	private String fisguardian1;
	private String fcardtype1;
	private String fcardid1;
	private String fnation1;
	private String fcom1;
	private String fjob1;
	private String fname2;
	private String frelation2;
	private String fremark2;
	private String faddress2;
	private String fhukouplacecode2;
	private String fphone2;
	private String fisguardian2;
	private String fcardtype2;
	private String fcardid2;
	private String fnation2;
	private String fcom2;
	private String fjob2;
	private String classcode;
	private String studentcode;
	private String buscode;
	private String del;
	private String headimg;
	private String phone;
	private Long messageid;
	private String cardcode;
	private String cellphone;
	private String imei;
	private String invisiblecode;
	private String model;
	private String remark;
	private String ring;
	private String ringswf;
	private String sostype;
	private String workhourcode;
	private String clazz;
	private String grade;
	private String periodtype;
	// Constructors

	/** default constructor */
	public StudentCard() {
	}


	/** full constructor */
	public StudentCard( String schoolid, String name, String sex,
			Long birdate, String birplacecede, String birplace, String nation,
			String country, String cardtype, String cardid, String oldname,
			Long cadrvalid, String isoutland, String health, String bloodtype,
			String political, String hukounature, String hukouplace,
			String adress, String mailadress, String familyadress,
			String familyphone, String post, String classno, Long inschooldate,
			String inschooltype, String studytype, String schoolno,
			String classstudentid, String studentfrom, String specialty,
			String email, String homepage, String isonechild,
			String isbeforestudy, String isstay, String issupport,
			String isonesupport, String isorphan, String isallow,
			String istransfer, String disabilitytype, String isbuy,
			String distance, String waytype, String isbus, String studyclass,
			String fname1, String frelation1, String fremark1,
			String faddress1, String fhukouplacecode1, String fphone1,
			String fisguardian1, String fcardtype1, String fcardid1,
			String fnation1, String fcom1, String fjob1, String fname2,
			String frelation2, String fremark2, String faddress2,
			String fhukouplacecode2, String fphone2, String fisguardian2,
			String fcardtype2, String fcardid2, String fnation2, String fcom2,
			String fjob2, String classcode, String studentcode, String buscode,
			String del, String headimg, String phone, Long messageid,
			String cardcode, String cellphone, String imei,
			String invisiblecode, String model, String remark, String ring,
			String ringswf, String sostype, String workhourcode) {
		this.schoolid = schoolid;
		this.name = name;
		this.sex = sex;
		this.birdate = birdate;
		this.birplacecede = birplacecede;
		this.birplace = birplace;
		this.nation = nation;
		this.country = country;
		this.cardtype = cardtype;
		this.cardid = cardid;
		this.oldname = oldname;
		this.cadrvalid = cadrvalid;
		this.isoutland = isoutland;
		this.health = health;
		this.bloodtype = bloodtype;
		this.political = political;
		this.hukounature = hukounature;
		this.hukouplace = hukouplace;
		this.adress = adress;
		this.mailadress = mailadress;
		this.familyadress = familyadress;
		this.familyphone = familyphone;
		this.post = post;
		this.classno = classno;
		this.inschooldate = inschooldate;
		this.inschooltype = inschooltype;
		this.studytype = studytype;
		this.schoolno = schoolno;
		this.classstudentid = classstudentid;
		this.studentfrom = studentfrom;
		this.specialty = specialty;
		this.email = email;
		this.homepage = homepage;
		this.isonechild = isonechild;
		this.isbeforestudy = isbeforestudy;
		this.isstay = isstay;
		this.issupport = issupport;
		this.isonesupport = isonesupport;
		this.isorphan = isorphan;
		this.isallow = isallow;
		this.istransfer = istransfer;
		this.disabilitytype = disabilitytype;
		this.isbuy = isbuy;
		this.distance = distance;
		this.waytype = waytype;
		this.isbus = isbus;
		this.studyclass = studyclass;
		this.fname1 = fname1;
		this.frelation1 = frelation1;
		this.fremark1 = fremark1;
		this.faddress1 = faddress1;
		this.fhukouplacecode1 = fhukouplacecode1;
		this.fphone1 = fphone1;
		this.fisguardian1 = fisguardian1;
		this.fcardtype1 = fcardtype1;
		this.fcardid1 = fcardid1;
		this.fnation1 = fnation1;
		this.fcom1 = fcom1;
		this.fjob1 = fjob1;
		this.fname2 = fname2;
		this.frelation2 = frelation2;
		this.fremark2 = fremark2;
		this.faddress2 = faddress2;
		this.fhukouplacecode2 = fhukouplacecode2;
		this.fphone2 = fphone2;
		this.fisguardian2 = fisguardian2;
		this.fcardtype2 = fcardtype2;
		this.fcardid2 = fcardid2;
		this.fnation2 = fnation2;
		this.fcom2 = fcom2;
		this.fjob2 = fjob2;
		this.classcode = classcode;
		this.studentcode = studentcode;
		this.buscode = buscode;
		this.del = del;
		this.headimg = headimg;
		this.phone = phone;
		this.messageid = messageid;
		this.cardcode = cardcode;
		this.cellphone = cellphone;
		this.imei = imei;
		this.invisiblecode = invisiblecode;
		this.model = model;
		this.remark = remark;
		this.ring = ring;
		this.ringswf = ringswf;
		this.sostype = sostype;
		this.workhourcode = workhourcode;
	}


	public String getSchoolid() {
		return this.schoolid;
	}

	public void setSchoolid(String schoolid) {
		this.schoolid = schoolid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Long getBirdate() {
		return this.birdate;
	}

	public void setBirdate(Long birdate) {
		this.birdate = birdate;
	}

	public String getBirplacecede() {
		return this.birplacecede;
	}

	public void setBirplacecede(String birplacecede) {
		this.birplacecede = birplacecede;
	}

	public String getBirplace() {
		return this.birplace;
	}

	public void setBirplace(String birplace) {
		this.birplace = birplace;
	}

	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCardtype() {
		return this.cardtype;
	}

	public void setCardtype(String cardtype) {
		this.cardtype = cardtype;
	}

	public String getCardid() {
		return this.cardid;
	}

	public void setCardid(String cardid) {
		this.cardid = cardid;
	}

	public String getOldname() {
		return this.oldname;
	}

	public void setOldname(String oldname) {
		this.oldname = oldname;
	}

	public Long getCadrvalid() {
		return this.cadrvalid;
	}

	public void setCadrvalid(Long cadrvalid) {
		this.cadrvalid = cadrvalid;
	}

	public String getIsoutland() {
		return this.isoutland;
	}

	public void setIsoutland(String isoutland) {
		this.isoutland = isoutland;
	}

	public String getHealth() {
		return this.health;
	}

	public void setHealth(String health) {
		this.health = health;
	}

	public String getBloodtype() {
		return this.bloodtype;
	}

	public void setBloodtype(String bloodtype) {
		this.bloodtype = bloodtype;
	}

	public String getPolitical() {
		return this.political;
	}

	public void setPolitical(String political) {
		this.political = political;
	}

	public String getHukounature() {
		return this.hukounature;
	}

	public void setHukounature(String hukounature) {
		this.hukounature = hukounature;
	}

	public String getHukouplace() {
		return this.hukouplace;
	}

	public void setHukouplace(String hukouplace) {
		this.hukouplace = hukouplace;
	}

	public String getAdress() {
		return this.adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public String getMailadress() {
		return this.mailadress;
	}

	public void setMailadress(String mailadress) {
		this.mailadress = mailadress;
	}

	public String getFamilyadress() {
		return this.familyadress;
	}

	public void setFamilyadress(String familyadress) {
		this.familyadress = familyadress;
	}

	public String getFamilyphone() {
		return this.familyphone;
	}

	public void setFamilyphone(String familyphone) {
		this.familyphone = familyphone;
	}

	public String getPost() {
		return this.post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getClassno() {
		return this.classno;
	}

	public void setClassno(String classno) {
		this.classno = classno;
	}

	public Long getInschooldate() {
		return this.inschooldate;
	}

	public void setInschooldate(Long inschooldate) {
		this.inschooldate = inschooldate;
	}

	public String getInschooltype() {
		return this.inschooltype;
	}

	public void setInschooltype(String inschooltype) {
		this.inschooltype = inschooltype;
	}

	public String getStudytype() {
		return this.studytype;
	}

	public void setStudytype(String studytype) {
		this.studytype = studytype;
	}

	public String getSchoolno() {
		return this.schoolno;
	}

	public void setSchoolno(String schoolno) {
		this.schoolno = schoolno;
	}

	public String getClassstudentid() {
		return this.classstudentid;
	}

	public void setClassstudentid(String classstudentid) {
		this.classstudentid = classstudentid;
	}

	public String getStudentfrom() {
		return this.studentfrom;
	}

	public void setStudentfrom(String studentfrom) {
		this.studentfrom = studentfrom;
	}

	public String getSpecialty() {
		return this.specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getHomepage() {
		return this.homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getIsonechild() {
		return this.isonechild;
	}

	public void setIsonechild(String isonechild) {
		this.isonechild = isonechild;
	}

	public String getIsbeforestudy() {
		return this.isbeforestudy;
	}

	public void setIsbeforestudy(String isbeforestudy) {
		this.isbeforestudy = isbeforestudy;
	}

	public String getIsstay() {
		return this.isstay;
	}

	public void setIsstay(String isstay) {
		this.isstay = isstay;
	}

	public String getIssupport() {
		return this.issupport;
	}

	public void setIssupport(String issupport) {
		this.issupport = issupport;
	}

	public String getIsonesupport() {
		return this.isonesupport;
	}

	public void setIsonesupport(String isonesupport) {
		this.isonesupport = isonesupport;
	}

	public String getIsorphan() {
		return this.isorphan;
	}

	public void setIsorphan(String isorphan) {
		this.isorphan = isorphan;
	}

	public String getIsallow() {
		return this.isallow;
	}

	public void setIsallow(String isallow) {
		this.isallow = isallow;
	}

	public String getIstransfer() {
		return this.istransfer;
	}

	public void setIstransfer(String istransfer) {
		this.istransfer = istransfer;
	}

	public String getDisabilitytype() {
		return this.disabilitytype;
	}

	public void setDisabilitytype(String disabilitytype) {
		this.disabilitytype = disabilitytype;
	}

	public String getIsbuy() {
		return this.isbuy;
	}

	public void setIsbuy(String isbuy) {
		this.isbuy = isbuy;
	}

	public String getDistance() {
		return this.distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getWaytype() {
		return this.waytype;
	}

	public void setWaytype(String waytype) {
		this.waytype = waytype;
	}

	public String getIsbus() {
		return this.isbus;
	}

	public void setIsbus(String isbus) {
		this.isbus = isbus;
	}

	public String getStudyclass() {
		return this.studyclass;
	}

	public void setStudyclass(String studyclass) {
		this.studyclass = studyclass;
	}

	public String getFname1() {
		return this.fname1;
	}

	public void setFname1(String fname1) {
		this.fname1 = fname1;
	}

	public String getFrelation1() {
		return this.frelation1;
	}

	public void setFrelation1(String frelation1) {
		this.frelation1 = frelation1;
	}

	public String getFremark1() {
		return this.fremark1;
	}

	public void setFremark1(String fremark1) {
		this.fremark1 = fremark1;
	}

	public String getFaddress1() {
		return this.faddress1;
	}

	public void setFaddress1(String faddress1) {
		this.faddress1 = faddress1;
	}

	public String getFhukouplacecode1() {
		return this.fhukouplacecode1;
	}

	public void setFhukouplacecode1(String fhukouplacecode1) {
		this.fhukouplacecode1 = fhukouplacecode1;
	}

	public String getFphone1() {
		return this.fphone1;
	}

	public void setFphone1(String fphone1) {
		this.fphone1 = fphone1;
	}

	public String getFisguardian1() {
		return this.fisguardian1;
	}

	public void setFisguardian1(String fisguardian1) {
		this.fisguardian1 = fisguardian1;
	}

	public String getFcardtype1() {
		return this.fcardtype1;
	}

	public void setFcardtype1(String fcardtype1) {
		this.fcardtype1 = fcardtype1;
	}

	public String getFcardid1() {
		return this.fcardid1;
	}

	public void setFcardid1(String fcardid1) {
		this.fcardid1 = fcardid1;
	}

	public String getFnation1() {
		return this.fnation1;
	}

	public void setFnation1(String fnation1) {
		this.fnation1 = fnation1;
	}

	public String getFcom1() {
		return this.fcom1;
	}

	public void setFcom1(String fcom1) {
		this.fcom1 = fcom1;
	}

	public String getFjob1() {
		return this.fjob1;
	}

	public void setFjob1(String fjob1) {
		this.fjob1 = fjob1;
	}

	public String getFname2() {
		return this.fname2;
	}

	public void setFname2(String fname2) {
		this.fname2 = fname2;
	}

	public String getFrelation2() {
		return this.frelation2;
	}

	public void setFrelation2(String frelation2) {
		this.frelation2 = frelation2;
	}

	public String getFremark2() {
		return this.fremark2;
	}

	public void setFremark2(String fremark2) {
		this.fremark2 = fremark2;
	}

	public String getFaddress2() {
		return this.faddress2;
	}

	public void setFaddress2(String faddress2) {
		this.faddress2 = faddress2;
	}

	public String getFhukouplacecode2() {
		return this.fhukouplacecode2;
	}

	public void setFhukouplacecode2(String fhukouplacecode2) {
		this.fhukouplacecode2 = fhukouplacecode2;
	}

	public String getFphone2() {
		return this.fphone2;
	}

	public void setFphone2(String fphone2) {
		this.fphone2 = fphone2;
	}

	public String getFisguardian2() {
		return this.fisguardian2;
	}

	public void setFisguardian2(String fisguardian2) {
		this.fisguardian2 = fisguardian2;
	}

	public String getFcardtype2() {
		return this.fcardtype2;
	}

	public void setFcardtype2(String fcardtype2) {
		this.fcardtype2 = fcardtype2;
	}

	public String getFcardid2() {
		return this.fcardid2;
	}

	public void setFcardid2(String fcardid2) {
		this.fcardid2 = fcardid2;
	}

	public String getFnation2() {
		return this.fnation2;
	}

	public void setFnation2(String fnation2) {
		this.fnation2 = fnation2;
	}

	public String getFcom2() {
		return this.fcom2;
	}

	public void setFcom2(String fcom2) {
		this.fcom2 = fcom2;
	}

	public String getFjob2() {
		return this.fjob2;
	}

	public void setFjob2(String fjob2) {
		this.fjob2 = fjob2;
	}

	public String getClasscode() {
		return this.classcode;
	}

	public void setClasscode(String classcode) {
		this.classcode = classcode;
	}

	public String getStudentcode() {
		return this.studentcode;
	}

	public void setStudentcode(String studentcode) {
		this.studentcode = studentcode;
	}

	public String getBuscode() {
		return this.buscode;
	}

	public void setBuscode(String buscode) {
		this.buscode = buscode;
	}

	public String getDel() {
		return this.del;
	}

	public void setDel(String del) {
		this.del = del;
	}

	public String getHeadimg() {
		return this.headimg;
	}

	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Long getMessageid() {
		return this.messageid;
	}

	public void setMessageid(Long messageid) {
		this.messageid = messageid;
	}

	public String getCardcode() {
		return this.cardcode;
	}

	public void setCardcode(String cardcode) {
		this.cardcode = cardcode;
	}

	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getImei() {
		return this.imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getInvisiblecode() {
		return this.invisiblecode;
	}

	public void setInvisiblecode(String invisiblecode) {
		this.invisiblecode = invisiblecode;
	}

	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRing() {
		return this.ring;
	}

	public void setRing(String ring) {
		this.ring = ring;
	}

	public String getRingswf() {
		return this.ringswf;
	}

	public void setRingswf(String ringswf) {
		this.ringswf = ringswf;
	}

	public String getSostype() {
		return this.sostype;
	}

	public void setSostype(String sostype) {
		this.sostype = sostype;
	}

	public String getWorkhourcode() {
		return this.workhourcode;
	}

	public void setWorkhourcode(String workhourcode) {
		this.workhourcode = workhourcode;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof StudentCard))
			return false;
		StudentCard castOther = (StudentCard) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getSchoolid() == castOther.getSchoolid()) || (this
						.getSchoolid() != null
						&& castOther.getSchoolid() != null && this
						.getSchoolid().equals(castOther.getSchoolid())))
				&& ((this.getName() == castOther.getName()) || (this.getName() != null
						&& castOther.getName() != null && this.getName()
						.equals(castOther.getName())))
				&& ((this.getSex() == castOther.getSex()) || (this.getSex() != null
						&& castOther.getSex() != null && this.getSex().equals(
						castOther.getSex())))
				&& ((this.getBirdate() == castOther.getBirdate()) || (this
						.getBirdate() != null && castOther.getBirdate() != null && this
						.getBirdate().equals(castOther.getBirdate())))
				&& ((this.getBirplacecede() == castOther.getBirplacecede()) || (this
						.getBirplacecede() != null
						&& castOther.getBirplacecede() != null && this
						.getBirplacecede().equals(castOther.getBirplacecede())))
				&& ((this.getBirplace() == castOther.getBirplace()) || (this
						.getBirplace() != null
						&& castOther.getBirplace() != null && this
						.getBirplace().equals(castOther.getBirplace())))
				&& ((this.getNation() == castOther.getNation()) || (this
						.getNation() != null && castOther.getNation() != null && this
						.getNation().equals(castOther.getNation())))
				&& ((this.getCountry() == castOther.getCountry()) || (this
						.getCountry() != null && castOther.getCountry() != null && this
						.getCountry().equals(castOther.getCountry())))
				&& ((this.getCardtype() == castOther.getCardtype()) || (this
						.getCardtype() != null
						&& castOther.getCardtype() != null && this
						.getCardtype().equals(castOther.getCardtype())))
				&& ((this.getCardid() == castOther.getCardid()) || (this
						.getCardid() != null && castOther.getCardid() != null && this
						.getCardid().equals(castOther.getCardid())))
				&& ((this.getOldname() == castOther.getOldname()) || (this
						.getOldname() != null && castOther.getOldname() != null && this
						.getOldname().equals(castOther.getOldname())))
				&& ((this.getCadrvalid() == castOther.getCadrvalid()) || (this
						.getCadrvalid() != null
						&& castOther.getCadrvalid() != null && this
						.getCadrvalid().equals(castOther.getCadrvalid())))
				&& ((this.getIsoutland() == castOther.getIsoutland()) || (this
						.getIsoutland() != null
						&& castOther.getIsoutland() != null && this
						.getIsoutland().equals(castOther.getIsoutland())))
				&& ((this.getHealth() == castOther.getHealth()) || (this
						.getHealth() != null && castOther.getHealth() != null && this
						.getHealth().equals(castOther.getHealth())))
				&& ((this.getBloodtype() == castOther.getBloodtype()) || (this
						.getBloodtype() != null
						&& castOther.getBloodtype() != null && this
						.getBloodtype().equals(castOther.getBloodtype())))
				&& ((this.getPolitical() == castOther.getPolitical()) || (this
						.getPolitical() != null
						&& castOther.getPolitical() != null && this
						.getPolitical().equals(castOther.getPolitical())))
				&& ((this.getHukounature() == castOther.getHukounature()) || (this
						.getHukounature() != null
						&& castOther.getHukounature() != null && this
						.getHukounature().equals(castOther.getHukounature())))
				&& ((this.getHukouplace() == castOther.getHukouplace()) || (this
						.getHukouplace() != null
						&& castOther.getHukouplace() != null && this
						.getHukouplace().equals(castOther.getHukouplace())))
				&& ((this.getAdress() == castOther.getAdress()) || (this
						.getAdress() != null && castOther.getAdress() != null && this
						.getAdress().equals(castOther.getAdress())))
				&& ((this.getMailadress() == castOther.getMailadress()) || (this
						.getMailadress() != null
						&& castOther.getMailadress() != null && this
						.getMailadress().equals(castOther.getMailadress())))
				&& ((this.getFamilyadress() == castOther.getFamilyadress()) || (this
						.getFamilyadress() != null
						&& castOther.getFamilyadress() != null && this
						.getFamilyadress().equals(castOther.getFamilyadress())))
				&& ((this.getFamilyphone() == castOther.getFamilyphone()) || (this
						.getFamilyphone() != null
						&& castOther.getFamilyphone() != null && this
						.getFamilyphone().equals(castOther.getFamilyphone())))
				&& ((this.getPost() == castOther.getPost()) || (this.getPost() != null
						&& castOther.getPost() != null && this.getPost()
						.equals(castOther.getPost())))
				&& ((this.getClassno() == castOther.getClassno()) || (this
						.getClassno() != null && castOther.getClassno() != null && this
						.getClassno().equals(castOther.getClassno())))
				&& ((this.getInschooldate() == castOther.getInschooldate()) || (this
						.getInschooldate() != null
						&& castOther.getInschooldate() != null && this
						.getInschooldate().equals(castOther.getInschooldate())))
				&& ((this.getInschooltype() == castOther.getInschooltype()) || (this
						.getInschooltype() != null
						&& castOther.getInschooltype() != null && this
						.getInschooltype().equals(castOther.getInschooltype())))
				&& ((this.getStudytype() == castOther.getStudytype()) || (this
						.getStudytype() != null
						&& castOther.getStudytype() != null && this
						.getStudytype().equals(castOther.getStudytype())))
				&& ((this.getSchoolno() == castOther.getSchoolno()) || (this
						.getSchoolno() != null
						&& castOther.getSchoolno() != null && this
						.getSchoolno().equals(castOther.getSchoolno())))
				&& ((this.getClassstudentid() == castOther.getClassstudentid()) || (this
						.getClassstudentid() != null
						&& castOther.getClassstudentid() != null && this
						.getClassstudentid().equals(
								castOther.getClassstudentid())))
				&& ((this.getStudentfrom() == castOther.getStudentfrom()) || (this
						.getStudentfrom() != null
						&& castOther.getStudentfrom() != null && this
						.getStudentfrom().equals(castOther.getStudentfrom())))
				&& ((this.getSpecialty() == castOther.getSpecialty()) || (this
						.getSpecialty() != null
						&& castOther.getSpecialty() != null && this
						.getSpecialty().equals(castOther.getSpecialty())))
				&& ((this.getEmail() == castOther.getEmail()) || (this
						.getEmail() != null && castOther.getEmail() != null && this
						.getEmail().equals(castOther.getEmail())))
				&& ((this.getHomepage() == castOther.getHomepage()) || (this
						.getHomepage() != null
						&& castOther.getHomepage() != null && this
						.getHomepage().equals(castOther.getHomepage())))
				&& ((this.getIsonechild() == castOther.getIsonechild()) || (this
						.getIsonechild() != null
						&& castOther.getIsonechild() != null && this
						.getIsonechild().equals(castOther.getIsonechild())))
				&& ((this.getIsbeforestudy() == castOther.getIsbeforestudy()) || (this
						.getIsbeforestudy() != null
						&& castOther.getIsbeforestudy() != null && this
						.getIsbeforestudy()
						.equals(castOther.getIsbeforestudy())))
				&& ((this.getIsstay() == castOther.getIsstay()) || (this
						.getIsstay() != null && castOther.getIsstay() != null && this
						.getIsstay().equals(castOther.getIsstay())))
				&& ((this.getIssupport() == castOther.getIssupport()) || (this
						.getIssupport() != null
						&& castOther.getIssupport() != null && this
						.getIssupport().equals(castOther.getIssupport())))
				&& ((this.getIsonesupport() == castOther.getIsonesupport()) || (this
						.getIsonesupport() != null
						&& castOther.getIsonesupport() != null && this
						.getIsonesupport().equals(castOther.getIsonesupport())))
				&& ((this.getIsorphan() == castOther.getIsorphan()) || (this
						.getIsorphan() != null
						&& castOther.getIsorphan() != null && this
						.getIsorphan().equals(castOther.getIsorphan())))
				&& ((this.getIsallow() == castOther.getIsallow()) || (this
						.getIsallow() != null && castOther.getIsallow() != null && this
						.getIsallow().equals(castOther.getIsallow())))
				&& ((this.getIstransfer() == castOther.getIstransfer()) || (this
						.getIstransfer() != null
						&& castOther.getIstransfer() != null && this
						.getIstransfer().equals(castOther.getIstransfer())))
				&& ((this.getDisabilitytype() == castOther.getDisabilitytype()) || (this
						.getDisabilitytype() != null
						&& castOther.getDisabilitytype() != null && this
						.getDisabilitytype().equals(
								castOther.getDisabilitytype())))
				&& ((this.getIsbuy() == castOther.getIsbuy()) || (this
						.getIsbuy() != null && castOther.getIsbuy() != null && this
						.getIsbuy().equals(castOther.getIsbuy())))
				&& ((this.getDistance() == castOther.getDistance()) || (this
						.getDistance() != null
						&& castOther.getDistance() != null && this
						.getDistance().equals(castOther.getDistance())))
				&& ((this.getWaytype() == castOther.getWaytype()) || (this
						.getWaytype() != null && castOther.getWaytype() != null && this
						.getWaytype().equals(castOther.getWaytype())))
				&& ((this.getIsbus() == castOther.getIsbus()) || (this
						.getIsbus() != null && castOther.getIsbus() != null && this
						.getIsbus().equals(castOther.getIsbus())))
				&& ((this.getStudyclass() == castOther.getStudyclass()) || (this
						.getStudyclass() != null
						&& castOther.getStudyclass() != null && this
						.getStudyclass().equals(castOther.getStudyclass())))
				&& ((this.getFname1() == castOther.getFname1()) || (this
						.getFname1() != null && castOther.getFname1() != null && this
						.getFname1().equals(castOther.getFname1())))
				&& ((this.getFrelation1() == castOther.getFrelation1()) || (this
						.getFrelation1() != null
						&& castOther.getFrelation1() != null && this
						.getFrelation1().equals(castOther.getFrelation1())))
				&& ((this.getFremark1() == castOther.getFremark1()) || (this
						.getFremark1() != null
						&& castOther.getFremark1() != null && this
						.getFremark1().equals(castOther.getFremark1())))
				&& ((this.getFaddress1() == castOther.getFaddress1()) || (this
						.getFaddress1() != null
						&& castOther.getFaddress1() != null && this
						.getFaddress1().equals(castOther.getFaddress1())))
				&& ((this.getFhukouplacecode1() == castOther
						.getFhukouplacecode1()) || (this.getFhukouplacecode1() != null
						&& castOther.getFhukouplacecode1() != null && this
						.getFhukouplacecode1().equals(
								castOther.getFhukouplacecode1())))
				&& ((this.getFphone1() == castOther.getFphone1()) || (this
						.getFphone1() != null && castOther.getFphone1() != null && this
						.getFphone1().equals(castOther.getFphone1())))
				&& ((this.getFisguardian1() == castOther.getFisguardian1()) || (this
						.getFisguardian1() != null
						&& castOther.getFisguardian1() != null && this
						.getFisguardian1().equals(castOther.getFisguardian1())))
				&& ((this.getFcardtype1() == castOther.getFcardtype1()) || (this
						.getFcardtype1() != null
						&& castOther.getFcardtype1() != null && this
						.getFcardtype1().equals(castOther.getFcardtype1())))
				&& ((this.getFcardid1() == castOther.getFcardid1()) || (this
						.getFcardid1() != null
						&& castOther.getFcardid1() != null && this
						.getFcardid1().equals(castOther.getFcardid1())))
				&& ((this.getFnation1() == castOther.getFnation1()) || (this
						.getFnation1() != null
						&& castOther.getFnation1() != null && this
						.getFnation1().equals(castOther.getFnation1())))
				&& ((this.getFcom1() == castOther.getFcom1()) || (this
						.getFcom1() != null && castOther.getFcom1() != null && this
						.getFcom1().equals(castOther.getFcom1())))
				&& ((this.getFjob1() == castOther.getFjob1()) || (this
						.getFjob1() != null && castOther.getFjob1() != null && this
						.getFjob1().equals(castOther.getFjob1())))
				&& ((this.getFname2() == castOther.getFname2()) || (this
						.getFname2() != null && castOther.getFname2() != null && this
						.getFname2().equals(castOther.getFname2())))
				&& ((this.getFrelation2() == castOther.getFrelation2()) || (this
						.getFrelation2() != null
						&& castOther.getFrelation2() != null && this
						.getFrelation2().equals(castOther.getFrelation2())))
				&& ((this.getFremark2() == castOther.getFremark2()) || (this
						.getFremark2() != null
						&& castOther.getFremark2() != null && this
						.getFremark2().equals(castOther.getFremark2())))
				&& ((this.getFaddress2() == castOther.getFaddress2()) || (this
						.getFaddress2() != null
						&& castOther.getFaddress2() != null && this
						.getFaddress2().equals(castOther.getFaddress2())))
				&& ((this.getFhukouplacecode2() == castOther
						.getFhukouplacecode2()) || (this.getFhukouplacecode2() != null
						&& castOther.getFhukouplacecode2() != null && this
						.getFhukouplacecode2().equals(
								castOther.getFhukouplacecode2())))
				&& ((this.getFphone2() == castOther.getFphone2()) || (this
						.getFphone2() != null && castOther.getFphone2() != null && this
						.getFphone2().equals(castOther.getFphone2())))
				&& ((this.getFisguardian2() == castOther.getFisguardian2()) || (this
						.getFisguardian2() != null
						&& castOther.getFisguardian2() != null && this
						.getFisguardian2().equals(castOther.getFisguardian2())))
				&& ((this.getFcardtype2() == castOther.getFcardtype2()) || (this
						.getFcardtype2() != null
						&& castOther.getFcardtype2() != null && this
						.getFcardtype2().equals(castOther.getFcardtype2())))
				&& ((this.getFcardid2() == castOther.getFcardid2()) || (this
						.getFcardid2() != null
						&& castOther.getFcardid2() != null && this
						.getFcardid2().equals(castOther.getFcardid2())))
				&& ((this.getFnation2() == castOther.getFnation2()) || (this
						.getFnation2() != null
						&& castOther.getFnation2() != null && this
						.getFnation2().equals(castOther.getFnation2())))
				&& ((this.getFcom2() == castOther.getFcom2()) || (this
						.getFcom2() != null && castOther.getFcom2() != null && this
						.getFcom2().equals(castOther.getFcom2())))
				&& ((this.getFjob2() == castOther.getFjob2()) || (this
						.getFjob2() != null && castOther.getFjob2() != null && this
						.getFjob2().equals(castOther.getFjob2())))
				&& ((this.getClasscode() == castOther.getClasscode()) || (this
						.getClasscode() != null
						&& castOther.getClasscode() != null && this
						.getClasscode().equals(castOther.getClasscode())))
				&& ((this.getStudentcode() == castOther.getStudentcode()) || (this
						.getStudentcode() != null
						&& castOther.getStudentcode() != null && this
						.getStudentcode().equals(castOther.getStudentcode())))
				&& ((this.getBuscode() == castOther.getBuscode()) || (this
						.getBuscode() != null && castOther.getBuscode() != null && this
						.getBuscode().equals(castOther.getBuscode())))
				&& ((this.getDel() == castOther.getDel()) || (this.getDel() != null
						&& castOther.getDel() != null && this.getDel().equals(
						castOther.getDel())))
				&& ((this.getHeadimg() == castOther.getHeadimg()) || (this
						.getHeadimg() != null && castOther.getHeadimg() != null && this
						.getHeadimg().equals(castOther.getHeadimg())))
				&& ((this.getPhone() == castOther.getPhone()) || (this
						.getPhone() != null && castOther.getPhone() != null && this
						.getPhone().equals(castOther.getPhone())))
				&& ((this.getMessageid() == castOther.getMessageid()) || (this
						.getMessageid() != null
						&& castOther.getMessageid() != null && this
						.getMessageid().equals(castOther.getMessageid())))
				&& ((this.getCardcode() == castOther.getCardcode()) || (this
						.getCardcode() != null
						&& castOther.getCardcode() != null && this
						.getCardcode().equals(castOther.getCardcode())))
				&& ((this.getCellphone() == castOther.getCellphone()) || (this
						.getCellphone() != null
						&& castOther.getCellphone() != null && this
						.getCellphone().equals(castOther.getCellphone())))
				&& ((this.getImei() == castOther.getImei()) || (this.getImei() != null
						&& castOther.getImei() != null && this.getImei()
						.equals(castOther.getImei())))
				&& ((this.getInvisiblecode() == castOther.getInvisiblecode()) || (this
						.getInvisiblecode() != null
						&& castOther.getInvisiblecode() != null && this
						.getInvisiblecode()
						.equals(castOther.getInvisiblecode())))
				&& ((this.getModel() == castOther.getModel()) || (this
						.getModel() != null && castOther.getModel() != null && this
						.getModel().equals(castOther.getModel())))
				&& ((this.getRemark() == castOther.getRemark()) || (this
						.getRemark() != null && castOther.getRemark() != null && this
						.getRemark().equals(castOther.getRemark())))
				&& ((this.getRing() == castOther.getRing()) || (this.getRing() != null
						&& castOther.getRing() != null && this.getRing()
						.equals(castOther.getRing())))
				&& ((this.getRingswf() == castOther.getRingswf()) || (this
						.getRingswf() != null && castOther.getRingswf() != null && this
						.getRingswf().equals(castOther.getRingswf())))
				&& ((this.getSostype() == castOther.getSostype()) || (this
						.getSostype() != null && castOther.getSostype() != null && this
						.getSostype().equals(castOther.getSostype())))
				&& ((this.getWorkhourcode() == castOther.getWorkhourcode()) || (this
						.getWorkhourcode() != null
						&& castOther.getWorkhourcode() != null && this
						.getWorkhourcode().equals(castOther.getWorkhourcode())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37 * result
				+ (getSchoolid() == null ? 0 : this.getSchoolid().hashCode());
		result = 37 * result
				+ (getName() == null ? 0 : this.getName().hashCode());
		result = 37 * result
				+ (getSex() == null ? 0 : this.getSex().hashCode());
		result = 37 * result
				+ (getBirdate() == null ? 0 : this.getBirdate().hashCode());
		result = 37
				* result
				+ (getBirplacecede() == null ? 0 : this.getBirplacecede()
						.hashCode());
		result = 37 * result
				+ (getBirplace() == null ? 0 : this.getBirplace().hashCode());
		result = 37 * result
				+ (getNation() == null ? 0 : this.getNation().hashCode());
		result = 37 * result
				+ (getCountry() == null ? 0 : this.getCountry().hashCode());
		result = 37 * result
				+ (getCardtype() == null ? 0 : this.getCardtype().hashCode());
		result = 37 * result
				+ (getCardid() == null ? 0 : this.getCardid().hashCode());
		result = 37 * result
				+ (getOldname() == null ? 0 : this.getOldname().hashCode());
		result = 37 * result
				+ (getCadrvalid() == null ? 0 : this.getCadrvalid().hashCode());
		result = 37 * result
				+ (getIsoutland() == null ? 0 : this.getIsoutland().hashCode());
		result = 37 * result
				+ (getHealth() == null ? 0 : this.getHealth().hashCode());
		result = 37 * result
				+ (getBloodtype() == null ? 0 : this.getBloodtype().hashCode());
		result = 37 * result
				+ (getPolitical() == null ? 0 : this.getPolitical().hashCode());
		result = 37
				* result
				+ (getHukounature() == null ? 0 : this.getHukounature()
						.hashCode());
		result = 37
				* result
				+ (getHukouplace() == null ? 0 : this.getHukouplace()
						.hashCode());
		result = 37 * result
				+ (getAdress() == null ? 0 : this.getAdress().hashCode());
		result = 37
				* result
				+ (getMailadress() == null ? 0 : this.getMailadress()
						.hashCode());
		result = 37
				* result
				+ (getFamilyadress() == null ? 0 : this.getFamilyadress()
						.hashCode());
		result = 37
				* result
				+ (getFamilyphone() == null ? 0 : this.getFamilyphone()
						.hashCode());
		result = 37 * result
				+ (getPost() == null ? 0 : this.getPost().hashCode());
		result = 37 * result
				+ (getClassno() == null ? 0 : this.getClassno().hashCode());
		result = 37
				* result
				+ (getInschooldate() == null ? 0 : this.getInschooldate()
						.hashCode());
		result = 37
				* result
				+ (getInschooltype() == null ? 0 : this.getInschooltype()
						.hashCode());
		result = 37 * result
				+ (getStudytype() == null ? 0 : this.getStudytype().hashCode());
		result = 37 * result
				+ (getSchoolno() == null ? 0 : this.getSchoolno().hashCode());
		result = 37
				* result
				+ (getClassstudentid() == null ? 0 : this.getClassstudentid()
						.hashCode());
		result = 37
				* result
				+ (getStudentfrom() == null ? 0 : this.getStudentfrom()
						.hashCode());
		result = 37 * result
				+ (getSpecialty() == null ? 0 : this.getSpecialty().hashCode());
		result = 37 * result
				+ (getEmail() == null ? 0 : this.getEmail().hashCode());
		result = 37 * result
				+ (getHomepage() == null ? 0 : this.getHomepage().hashCode());
		result = 37
				* result
				+ (getIsonechild() == null ? 0 : this.getIsonechild()
						.hashCode());
		result = 37
				* result
				+ (getIsbeforestudy() == null ? 0 : this.getIsbeforestudy()
						.hashCode());
		result = 37 * result
				+ (getIsstay() == null ? 0 : this.getIsstay().hashCode());
		result = 37 * result
				+ (getIssupport() == null ? 0 : this.getIssupport().hashCode());
		result = 37
				* result
				+ (getIsonesupport() == null ? 0 : this.getIsonesupport()
						.hashCode());
		result = 37 * result
				+ (getIsorphan() == null ? 0 : this.getIsorphan().hashCode());
		result = 37 * result
				+ (getIsallow() == null ? 0 : this.getIsallow().hashCode());
		result = 37
				* result
				+ (getIstransfer() == null ? 0 : this.getIstransfer()
						.hashCode());
		result = 37
				* result
				+ (getDisabilitytype() == null ? 0 : this.getDisabilitytype()
						.hashCode());
		result = 37 * result
				+ (getIsbuy() == null ? 0 : this.getIsbuy().hashCode());
		result = 37 * result
				+ (getDistance() == null ? 0 : this.getDistance().hashCode());
		result = 37 * result
				+ (getWaytype() == null ? 0 : this.getWaytype().hashCode());
		result = 37 * result
				+ (getIsbus() == null ? 0 : this.getIsbus().hashCode());
		result = 37
				* result
				+ (getStudyclass() == null ? 0 : this.getStudyclass()
						.hashCode());
		result = 37 * result
				+ (getFname1() == null ? 0 : this.getFname1().hashCode());
		result = 37
				* result
				+ (getFrelation1() == null ? 0 : this.getFrelation1()
						.hashCode());
		result = 37 * result
				+ (getFremark1() == null ? 0 : this.getFremark1().hashCode());
		result = 37 * result
				+ (getFaddress1() == null ? 0 : this.getFaddress1().hashCode());
		result = 37
				* result
				+ (getFhukouplacecode1() == null ? 0 : this
						.getFhukouplacecode1().hashCode());
		result = 37 * result
				+ (getFphone1() == null ? 0 : this.getFphone1().hashCode());
		result = 37
				* result
				+ (getFisguardian1() == null ? 0 : this.getFisguardian1()
						.hashCode());
		result = 37
				* result
				+ (getFcardtype1() == null ? 0 : this.getFcardtype1()
						.hashCode());
		result = 37 * result
				+ (getFcardid1() == null ? 0 : this.getFcardid1().hashCode());
		result = 37 * result
				+ (getFnation1() == null ? 0 : this.getFnation1().hashCode());
		result = 37 * result
				+ (getFcom1() == null ? 0 : this.getFcom1().hashCode());
		result = 37 * result
				+ (getFjob1() == null ? 0 : this.getFjob1().hashCode());
		result = 37 * result
				+ (getFname2() == null ? 0 : this.getFname2().hashCode());
		result = 37
				* result
				+ (getFrelation2() == null ? 0 : this.getFrelation2()
						.hashCode());
		result = 37 * result
				+ (getFremark2() == null ? 0 : this.getFremark2().hashCode());
		result = 37 * result
				+ (getFaddress2() == null ? 0 : this.getFaddress2().hashCode());
		result = 37
				* result
				+ (getFhukouplacecode2() == null ? 0 : this
						.getFhukouplacecode2().hashCode());
		result = 37 * result
				+ (getFphone2() == null ? 0 : this.getFphone2().hashCode());
		result = 37
				* result
				+ (getFisguardian2() == null ? 0 : this.getFisguardian2()
						.hashCode());
		result = 37
				* result
				+ (getFcardtype2() == null ? 0 : this.getFcardtype2()
						.hashCode());
		result = 37 * result
				+ (getFcardid2() == null ? 0 : this.getFcardid2().hashCode());
		result = 37 * result
				+ (getFnation2() == null ? 0 : this.getFnation2().hashCode());
		result = 37 * result
				+ (getFcom2() == null ? 0 : this.getFcom2().hashCode());
		result = 37 * result
				+ (getFjob2() == null ? 0 : this.getFjob2().hashCode());
		result = 37 * result
				+ (getClasscode() == null ? 0 : this.getClasscode().hashCode());
		result = 37
				* result
				+ (getStudentcode() == null ? 0 : this.getStudentcode()
						.hashCode());
		result = 37 * result
				+ (getBuscode() == null ? 0 : this.getBuscode().hashCode());
		result = 37 * result
				+ (getDel() == null ? 0 : this.getDel().hashCode());
		result = 37 * result
				+ (getHeadimg() == null ? 0 : this.getHeadimg().hashCode());
		result = 37 * result
				+ (getPhone() == null ? 0 : this.getPhone().hashCode());
		result = 37 * result
				+ (getMessageid() == null ? 0 : this.getMessageid().hashCode());
		result = 37 * result
				+ (getCardcode() == null ? 0 : this.getCardcode().hashCode());
		result = 37 * result
				+ (getCellphone() == null ? 0 : this.getCellphone().hashCode());
		result = 37 * result
				+ (getImei() == null ? 0 : this.getImei().hashCode());
		result = 37
				* result
				+ (getInvisiblecode() == null ? 0 : this.getInvisiblecode()
						.hashCode());
		result = 37 * result
				+ (getModel() == null ? 0 : this.getModel().hashCode());
		result = 37 * result
				+ (getRemark() == null ? 0 : this.getRemark().hashCode());
		result = 37 * result
				+ (getRing() == null ? 0 : this.getRing().hashCode());
		result = 37 * result
				+ (getRingswf() == null ? 0 : this.getRingswf().hashCode());
		result = 37 * result
				+ (getSostype() == null ? 0 : this.getSostype().hashCode());
		result = 37
				* result
				+ (getWorkhourcode() == null ? 0 : this.getWorkhourcode()
						.hashCode());
		return result;
	}


	public String getClazz() {
		return clazz;
	}


	public void setClazz(String clazz) {
		this.clazz = clazz;
	}


	public String getGrade() {
		return grade;
	}


	public void setGrade(String grade) {
		this.grade = grade;
	}


	/**
	 * @return the periodtype
	 */
	public String getPeriodtype() {
		return periodtype;
	}


	/**
	 * @param periodtype the periodtype to set
	 */
	public void setPeriodtype(String periodtype) {
		this.periodtype = periodtype;
	}



}